{% extends 'IcsocUIBundle::base.html.twig' %}
{% block stylesheet %}
    {{ parent() }}
    {% stylesheets
    '@colorpicker_css'
    filter='cssrewrite' filter='uglifycss'
    %}
    <link rel="stylesheet" href="{{ asset_url }}" />
    {% endstylesheets %}
{% endblock %}
{% block content %}
    <div>
        <input type="text" name="color" id="colorpicker1" />
    </div>
{% endblock %}
{% block footer %}
    {% javascripts
    '@colorpicker_js'
    filter='uglifyjs'
    %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
    <script type="text/javascript">
        $('#colorpicker1').colorpicker();
    </script>
{% endblock %}